package com.better.backend.mqReceiverService.questionReceiver.model;


import io.swagger.models.auth.In;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 小题知识点Entity
 *
 * @author wangfuming
 * @version 2017-09-18
 */
public class PointPaperModel implements Serializable {

    private static final long serialVersionUID = 1L;
    private String id;
    private String pointId;
    private String questionId;
    private String pointName;
    private String proportion;  //知识点占比

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getPointId() {
        return pointId;
    }

    public void setPointId(String pointId) {
        this.pointId = pointId;
    }

    public String getQuestionId() {
        return questionId;
    }

    public void setQuestionId(String questionId) {
        this.questionId = questionId;
    }

    public String getPointName() {
        return pointName;
    }

    public void setPointName(String pointName) {
        this.pointName = pointName;
    }

    public String getProportion() {
        return proportion;
    }

    public void setProportion(String proportion) {
        this.proportion = proportion;
    }

    public Integer getRate(){
        return Integer.valueOf(this.getProportion());
    }
}